let schema = `
# 测试接口
type Query {
    # 测试接口
    test(limit: Int): [Article]
}

type User {
    username: String
    password: String
}

type Article {
    id: ID
    title: String
    content: String
    user: User
}
`

import graphqlTools from 'graphql-tools'
import resolvers from './resolver'

export default graphqlTools.makeExecutableSchema({
    typeDefs: schema,
    resolvers: resolvers,
});
